package miiteen.customsportal.ct.dao;

import org.springframework.stereotype.Repository;
import miiteen.data.dao.impl.BaseDaoImpl;
import miiteen.customsportal.ct.beans.CTNoticeType;

import java.util.List;
import java.util.Map;

/**
 * Name: CustomsPortal_CT_NoticeType
 * Des: -Dao
 * Author: yulp
 * Date: 2020-07-03
 */
@Repository("cTNoticeTypeDao")
public class CTNoticeTypeDao extends BaseDaoImpl<CTNoticeType> {

    @Override
    protected String getMapper() {
        return "miiteen.customsportal.ct.beans.CTNoticeType";
    }

    public List<CTNoticeType> getCodeValue(Map map){
        return getSqlSession().selectList(getMapper()+".getCodeValue",map);
    }

}
